package com.ruoyi.bussiness.mapper;

import java.util.List;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.ruoyi.bussiness.domain.CcyTradeWaiting;

/**
 * 委托订单Mapper接口
 * 
 * @author wzy
 * @date 2025-10-21
 */
@DS("okx")
public interface CcyTradeWaitingMapper 
{
    /**
     * 查询委托订单
     * 
     * @param id 委托订单主键
     * @return 委托订单
     */
    public CcyTradeWaiting selectCcyTradeWaitingById(String id);

    /**
     * 查询委托订单列表
     * 
     * @param ccyTradeWaiting 委托订单
     * @return 委托订单集合
     */
    public List<CcyTradeWaiting> selectCcyTradeWaitingList(CcyTradeWaiting ccyTradeWaiting);

    /**
     * 新增委托订单
     * 
     * @param ccyTradeWaiting 委托订单
     * @return 结果
     */
    public int insertCcyTradeWaiting(CcyTradeWaiting ccyTradeWaiting);

    /**
     * 修改委托订单
     * 
     * @param ccyTradeWaiting 委托订单
     * @return 结果
     */
    public int updateCcyTradeWaiting(CcyTradeWaiting ccyTradeWaiting);

    /**
     * 删除委托订单
     * 
     * @param id 委托订单主键
     * @return 结果
     */
    public int deleteCcyTradeWaitingById(String id);

    /**
     * 批量删除委托订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCcyTradeWaitingByIds(String[] ids);
}
